Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional refactoring of PacketTunnelActor State; mostly placing clearly subordinate types under appropriate namespaces #6070

Merged
merged 4 commits into from
Apr 8, 2024

Conversation

acb-mv
Copy link
Contributor

@acb-mv acb-mv commented Apr 4, 2024

This continues the refactoring merged to main earlier. In this:

  • KeyPolicy becomes State.KeyPolicy
  • ReconnectReason becomes PacketTunnelActor.ReconnectReason
  • TargetStateForReconnect moves under State
  • StatePriorToBlockedState becomes State.BlockingData.PriorState

All these types have been evaluated to be structurally subordinate to the namespaces they have been moved under, meaning that these changes do not introduce any ambiguities, but merely declutter the namespace.


This change is Reviewable

@acb-mv acb-mv self-assigned this Apr 4, 2024
Copy link
Contributor

@rablador rablador left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 5 of 5 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

Copy link
Contributor

@buggmagnet buggmagnet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 5 of 5 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@buggmagnet buggmagnet force-pushed the PacketTunnel-State-refactor-2 branch from 57ba6e3 to 36a2a27 Compare April 8, 2024 11:22
@buggmagnet buggmagnet merged commit ede40a2 into main Apr 8, 2024
7 checks passed
@buggmagnet buggmagnet deleted the PacketTunnel-State-refactor-2 branch April 8, 2024 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants